tellraw @s ["",{"text":"em:scoretp","bold":true,"color":"yellow"},{"text":"\nTeleport an entity to coordinates in scoreboard values. Set the values in the entity's score on objectives scoretp_x, scoretp_y, and scoretp_z, then execute `function em:scoretp` as the entity."},{"text":"\nThe coordinates are relative to where the command is positioned. That means if an entity is at x=100 and scoretp_x=5, running `/execute as @e run function em:scoretp` will teleport the entity to x=105."},{"text":"\nTo use the coordinates as absolute, use execute to position the command at 0,0,0. Example: `/execute positioned 0 0 0 run function em:scoretp`"},{"text":"\n\nParameters","bold":true},{"text":"\n["},{"text":"set","underlined":true,"color":"aqua","clickEvent":{"action":"suggest_command","value":"/scoreboard players set @s scoretp_x "}},{"text":"] "},{"text":"@s","color":"gold"},{"text":" | "},{"text":"scoretp_x","color":"green"},{"text":" | relative x coordinate"},{"text":"\n["},{"text":"set","underlined":true,"color":"aqua","clickEvent":{"action":"suggest_command","value":"/scoreboard players set @s scoretp_y "}},{"text":"] "},{"text":"@s","color":"gold"},{"text":" | "},{"text":"scoretp_y","color":"green"},{"text":" | relative y coordinate"},{"text":"\n["},{"text":"set","underlined":true,"color":"aqua","clickEvent":{"action":"suggest_command","value":"/scoreboard players set @s scoretp_z "}},{"text":"] "},{"text":"@s","color":"gold"},{"text":" | "},{"text":"scoretp_z","color":"green"},{"text":" | relative z coordinate"},{"text":"\n\nVideo","bold":true},{"text":"\nHow to Teleport to Scoreboard Values (Minecraft 1.16)","underlined":true,"color":"aqua","clickEvent":{"action":"open_url","value":"https://www.youtube.com/watch?v=OINJSgKWQpg"}}]